import numpy as np

print(f"numpy version: {np.__version__}")

arr = np.array([[1, 2, 3],[4, 5, 6]],dtype=np.float64)

print(f"arr内容: {arr}")
print(f"arr的维度: {arr.ndim}")
print(f"arr的形状: {arr.shape}")
print(f"arr的大小: {arr.size}")
print(f"arr每个元素大小: {arr.itemsize} bytes")
print(f"arr的内存占用: {arr.nbytes} bytes")
